<?php

class Core_Backend_Component_Website_View_Block_Choose extends Core_Backend_Share_View_Form{

    public function __construct() {
        parent::__construct();
    }

    protected function buildNavigation($navigation) {
        $navigation->addLabel($this->__f('website.title.block_choose', $this->getArea()->getName()));
        parent::buildNavigation($navigation);
    }

    protected function buildToolbar($toolbar) {
    	$group = $toolbar->createGroup('back');
        $group->addLink($this->getHistoryUrl('website/block/index'), $this->__('share.button.back'));
        parent::buildToolBar($toolbar);
    }

    protected function buildForm($form){
		$this->getTemplate()->assignMulti($this->getAllData());
    }
}